package com.itheima.mapper;

import com.itheima.domain.Student;
import com.itheima.domain.User;

import java.util.ArrayList;
import java.util.List;

/**
 * @param
 * @return
 */
public interface UserMapper {
    List<Student> findAll();

    int save(Student student);

    Student findByNum(String number);

    int update(Student student);

    int deleteByNum(String number);

    User login(User user);
}
